﻿#region Using Directives

    using System;
    using Csla;

#endregion

namespace MarketPulse.BusinessLogic.Common.Criteria
{
    /// <summary>
    /// Criteria class that allows a list of users to be retrieved for a specific and user role.
    /// </summary>
    [Serializable]
    public class CountryGuidAndUserRoleGuidCriteria : CriteriaBase<CountryGuidAndUserRoleGuidCriteria>
    {

        #region Constructor(s)

            /// <summary>
            /// Creates a new instance of the object.
            /// </summary>
            /// <param name="guid">The Guid that forms part of the unique identifier for an Assignment</param>
            /// <param name="versionId">The versionId number that forms part of the unique identifier for an Assignment</param>
            public CountryGuidAndUserRoleGuidCriteria(Guid countryGuid, Guid userRoleGuid)
            {
                CountryGuid = countryGuid;
                UserRoleGuid = userRoleGuid;
            }

        #endregion

        #region Properties

            /// <summary>
            /// The Guid of the Country to associate with this criteria
            /// </summary>
            public Guid CountryGuid { get; private set; }

            /// <summary>
            /// The Guid of the UserRole to associate with this criteria
            /// </summary>
            public Guid UserRoleGuid { get; private set; }

        #endregion

    }
}
